package org.tdcg.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.tdcg.entity.User;

/**
 * @Title: UserRepository
 * @Package: org.tdcg
 * @Description: UserRepository数据访问
 * @Author: 二东 <zwd_1222@126.com>
 * @date: 2016/10/25
 * @Version: V1.0
 */
public interface UserRepository extends MongoRepository<User, String> {

    User findByAge(Integer age);

}
